<!--title-->
<div class="mnav1">
	<div class="m_nav">
		<div class="nav_left">
			<em class="home_icon"><?=$this->sys_name?></em><span>&nbsp;&gt;&nbsp;</span><font><?=$this->title?></font>
		</div>
	</div>
</div>

<div class="content-table">
<div class="content-table-title"><?=$this->title?></div>
<br />
<?php if($this->msg):?>
<div class="replace"><?=$this->msg?></div>
<br />
<?php endif;?>
<form action="/maozhua/app-users-list" name="form1" method="GET">
关键字：<input type="text" name="keyword" <?php if($this->keyword){echo "value='".$this->keyword."'";}?> />
&nbsp;&nbsp;&nbsp;&nbsp;
状态：
<select class="form-control" name="status">
	<option value="" selected="selected" >请选择</option>
	<option value="1">有效</option>
	<option value="2">无效</option>
</select>
&nbsp;&nbsp;&nbsp;
<input type="submit" class="button" value="搜索" />
&nbsp;&nbsp;&nbsp;&nbsp;
<input type="button" class="button-cancle" value="清空搜索条件" onclick="location.href='?';" />
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="/maozhua/export-app-users-list?status=<?=$this->status?>&keyword=<?=$this->keyword?>"><input type="button" class="button-cancle" value="导出Excel"/></a>
</form>
<br />
<table>
  <tr>
    <th>公司名称</th>
    <th>用户名</th>
    <th>电话号码</th>
    <th>创建时间</th>
	<th>状态</th>
  </tr>
  <?php foreach($this->data as $key => $row):?>
  <tr>
    <td><?=$row["company"]?></td>
    <td><?=$row["user_name"]?></td>
    <td><?=$row["cellphone"]?></td>
    <td><?=$row["ctime"]?></td>
	<td><?=$row["status"]==1?有效:无效 ?></td>
  </tr>
  <?php endforeach;?>
</table>

<br /><br />
<div align="right"><?=$this->pagination?></div>
<br /><br /><br />